package com.tianyang.yukuaifu.business.trade.contract;

import com.alibaba.fastjson.JSONObject;
import com.tianyang.yukuaifu.base.IBaseExtraView;
import com.tianyang.yukuaifu.base.IBasePresenter;
import com.tianyang.yukuaifu.business.trade.bean.SubMerchantStatOutput;

import java.util.List;

/**
 * Description：商户详情统计
 * Created by xyj on 2024/3/26
 */
public interface SubMerchantStatContract {

    interface View extends IBaseExtraView<Presenter> {

        /**
         * 显示统计数据
         */
        void showMerchantTradeStatView(JSONObject jsonObject);

        /**
         * 显示列表
         */
        void showMerchantTradeListView(List<SubMerchantStatOutput> outputs, boolean isFirst);

        /**
         * 上拉加载状态
         */
        void showLoadMore(String loadMore);
    }

    interface Presenter extends IBasePresenter {

        void posMerchantTradeDetail(int pageNum, String startTime, String endTime);
    }
}
